﻿using SIR.Common;
using SIR.Entities.Interfaces;

namespace SIR.Entities.Implementations
{
	/// <summary>
	/// Describes an image pattern
	/// </summary>
	public class PatternDescription : Entity, IPatternDescription
	{
		/// <summary>
		/// Gets or sets the name of the pattern
		/// </summary>
		[DatabaseAccess(DatabaseAccessRights.ReadWrite)]
		public string Name { get; set; }
		/// <summary>
		/// Gets or sets the identifier for the group to which the pattern belongs
		/// </summary>
		[DatabaseAccess(DatabaseAccessRights.ReadWrite)]
		public long PatternDescriptionGroupId { get; set; }
		/// <summary>
		/// Gets or sets the url of the icon to be displayed with the name of the pattern
		/// </summary>
		[DatabaseAccess(DatabaseAccessRights.ReadWrite)]
		public string IconUrl { get; set; }
	}
}

